<?php $header=$this->action('ZfcAdmin\Controller\AdminController', 'headerAction');
	  $baseUrl = $header->headerarray['baseUrl'];
if(!isset($_SESSION['admin'])){?>
<html>
	<form class="" id="admin_form" name="admin_form" method="post">
		<input type="text" id="inputEmail" name="inputEmail" placeholder="Enter admin email id"/>
		<input type="password" id="password" name="password" placeholder="Enter admin password"/>		<input type="hidden" id="mod_type" name="mod_type" value="reg_admin">
		<input type="button" onclick="return validateadminLogin()" value="Login"/>
	</form>
	<a href="<? echo $baseUrl?>admin/forgetpassword">Forgot Password?</a>
</html>
<script>
	$('#password').keypress(function(e){
		if( e.keyCode == 13 ){
			validateadminLogin();	
		}
	});
</script>
<?}else{?><p>Admin Home Page</p>
<?}?>